#include "templateinline.h"
#include<iostream>
using std::cout;using std::endl;
template<typename T> 
inline const T& max(const  T& a, const  T& b) 
{ return a < b ? b : a; }
inline int fib(int n){
    int a = 1, b = 2;
    int sum = 0;
    for(int i = 0; i < n; i++){
        sum = a + b; 
        a = b; 
        b = sum; 
    }
    return sum;
}
int main(){
    std::cout << max(5,7) << std::endl;
    cout << fib(10) << endl;
}